home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ham Radio 2000
/
Ham Radio 2000.iso
/
ham2000
/
packet
/
p_tapr
/
tnchst
/
aft.do4
< prev
next >
Wrap
Text File
|
1992-03-16
|
4KB
|
142 lines
.HE QAFT.DO├ N2W╪ rev. 10 Auτ 90
.FO #
.IG
.IG
.OJ ON
.PN 1
.IG
.IG
.OJ ON
.IG Documen⌠ dedicateΣ t∩ thσ publiπ domaiε b∙ N2WX
.IG
.IG Retentioε oµ authorshi≡ noticσ woulΣ no⌠ bσ inappropriate
.IG
.IG
.IG
.OJ ON
.IG
.IG
.OJ ON
.IG 10 auτ 90 clearl∙ definσ er≥ detec⌠ algorithφ a≤ inverteΣ bytσ cksum
.IG
.IG 31 ma∙ 90 makσ framσ abor⌠ procedurσ conforφ t∩ x.25/AF╘ re÷ 2,
.IG
.IG replacσ occurence≤ oµ "tw∩ bytσ CRC" witΦ "onσ byte
.IG
.IG error-detectinτ character
.IG
.IG W╙ filσ expect≤ W╙ laserprinte≥ configureΣ fo≥ 1" top/bo⌠ margin≤
.IG
.IG
.IG
.OJ ON
.IG
.IG
.OJ ON
WARNIN╟ - EXPERIMENTER╙ ONLY!
Hos⌠ ámodσ oε TNC-2 anΣ derivativσ TNC≤ a⌠ thi≤ timσ remain≤ ì
experimental. Obviou≤ feature≤ receiveΣ ß quicδ "goinτ over" anΣ ì
rathe≥ ácursor∙ ádebug, bu⌠ discover∙ oµ thσ remaininτ inevitablσ ì
bug≤ áanΣ ácritica∞ programminτ oversight≤ await≤ thσ adventurou≤ ì
reader/developer. Pleasσ direc⌠ discoverie≤ anΣ criticisms:
viß slo≈ boa⌠ : t∩ HowarΣ Goldstein
5201-23rΣ Ave. N.
St. Petersburg, F╠ 33710 USA
viß compuser÷ : t∩ 75006,702
viß haφ packet: t∩ N2W╪ @ W4DPH.FL
INTRODUCTION
Asynchronou≤ áFraminτ áTechniquσ á(AFT) ái≤ áß publiπ domaiε ì
methoΣ áfo≥ encapsulatinτ group≤ - frame≤ - oµ error-protecteΣ 8-ì
bi⌠ ádatß áacros≤ asynchronou≤ seria∞ links. AF╘ i≤ modeleΣ upoε ì
anΣ áattempt≤ át∩ áemulatσ áß ásynchronou≤ HDL├ link. AF╘ wa≤ deì
velopeΣ b∙ Hayes, Inc.
QAF╘ ádiffer≤ áfroφ áAF╘ onl∙ iε thσ erro≥ detectioε scheme. ì
QAF╘ use≤ ß quicke≥ 2'≤ complemen⌠ checksuφ vs. AFT'≤ CRC.
REQUIREMENTS
AF╘ áimplementatioε álevel≤ á0 anΣ 1 requirσ aε asynchronou≤ ì
linδ capablσ oµ passinτ al∞ 256 8-bi⌠ character≤ unmolested. AF╘ ì
Leve∞ á1 ámake≤ aε exceptioε fo≥ underlyinτ DC1/DC3 flo≈ control: ì
L1 map≤ DC1/DC3 t∩ different, harmles≤ characters.
BASI├ AFT
Ever∙ AF╘ framσ consist≤ of:
Onσ o≥ morσ leadinτ FLA╟ characters :: 0x7E
1-nε character≤ oµ DATA :: 0x??
Onσ error-detectioε character :: 0x??
Onσ o≥ morσ endinτ FLA╟ characters :: 0x7E
AnΣ possibly:
Datß linδ Escape :: 0x7D
Flags
Thσ áFLA╟ terminatinτ oncσ framσ caε simultaneousl∙ opeε thσ ì
nex⌠ subsequen⌠ frame.
Abort
QAF╘ ásupport≤ áaε HDLC-likσ abor⌠ eveε thougΦ i⌠ ha≤ littlσ ìèpractica∞ ááuse. TNC-2 ááneve≥ átransmit≤ áthσ áabor⌠ ásequence. ì
AFT/QAF╘ specifie≤ thσ abor⌠ sequencσ as:
Thσ átransmitte≥ áma∙ áabor⌠ áß áframσ áb∙ ásendinτ á$7─ $7┼ ì
(escape-flag). N∩ áááerror-detectioε ááácharacte≥ ááái≤ áátransì
mitted. Thσ ááincompletσ ááescapσ áásequencσ ááwil∞ áácausσ áthσ ì
framσ t∩ bσ rejecteΣ b∙ thσ receiver.
Transparency
Transparenc∙ ái≤ áaccomplisheΣ áb∙ replacinτ datß anΣ error-ì
detectioε ácharacte≥ character≤ matchinτ AFT'≤ FLA╟ anΣ DL┼ charìèacter≤ witΦ ß tw∩ characte≥ sequencσ madσ u≡ of:
DL┼ :: 0x7D
DATA/error--detectioε characte≥ xo≥ 0x20
:: 0x?? ▐ 0x20
Thσ áfirs⌠ characte≥ (DLE) invoke≤ transparency; thσ seconΣ charì
acte≥ ái≤ áthσ áresul⌠ áoµ exclusive-ORinτ thσ origina∞ datß witΦ ì
20H.
Optiona∞ transparency: thσ abovσ substitution≤ arσ thσ onl∙ ì
one≤ áspecifieΣ áb∙ AFT/QAF╘ leve∞ 0 ("Basiπ AFT"). Transparenc∙ ì
fo≥ áXON/XOF╞ character≤ i≤ supporteΣ iε AFT/QAF╘ leve∞ 1 anΣ thσ ì
TNC-2. Seσ below.
.CP 5
Error-detection
QAF╘ - TNC-2
Thσ áerror-detectioε bytσ i≤ thσ two'≤ complemen⌠ oµ thσ suφ ì
oµ áthσ áframe'≤ ádatß only. Excludσ erro≥ detection, flags, anΣ ì
escapσ byte≤ froφ thσ addition.
"X.25/AF╘ re÷ 2" -- NO╘ iε TNC-2
Thσ áCCIT╘ (X**16 + X**12 + X**5 + 1) erro≥ checkinτ polynoì
mia∞ ái≤ áused. Oε átransmit, thσ CR├ generato≥ shoulΣ bσ se⌠ t∩ ì
al∞ 1's.
Thσ áCR├ ái≤ átransmitteΣ iε reversσ bi⌠ order; ex: wheε thσ ì
asynchronou≤ ácharacter≤ receiveΣ arσ hicrc=0x73 lowcrc=0x88, thσ ì
actua∞ CR├ i≤ 0x11CE.
AF╘ LEVE╠ 1
AF╘ áLeve∞ á1 áadd≤ áDC1 áanΣ áDC3 át∩ áthσ átw∩ ácharacter≤ ì
(FLAG/ESCAPE) mappeΣ b∙ AF╘ Leve∞ 0'≤ transparenc∙ mechanism.